package org.jeecg.modules.chg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 预存余额明细
 * @Author: jeecg-boot
 * @Date:   2022-02-21
 * @Version: V1.0
 */
@Data
@TableName("mws_t_chg_storeds")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mws_t_chg_storeds对象", description="预存余额明细")
public class ChgStoreds implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**缴费账号*/
	@Excel(name = "缴费账号", width = 15)
    @ApiModelProperty(value = "缴费账号")
    private java.lang.String accountId;
	/**户名*/
	@Excel(name = "户名", width = 15)
    @ApiModelProperty(value = "户名")
    private java.lang.String accName;
	/**户号*/
	@Excel(name = "户号", width = 15)
    @ApiModelProperty(value = "户号")
    private java.lang.String accCode;
	/**缴费记录*/
	@Excel(name = "缴费记录", width = 15)
    @ApiModelProperty(value = "缴费记录")
    private java.lang.String paymentId;
    /**缴费批号*/
    @Excel(name = "缴费批号", width = 15)
    @ApiModelProperty(value = "缴费批号")
    private java.lang.String batchNo;
	/**缴费类型 1-收费,2-缴费,3-退费，4预存 */
	@Excel(name = "缴费类型", width = 15)
    @ApiModelProperty(value = "缴费类型")
    private java.lang.String feeTargetType;
	/**收费记录*/
	@Excel(name = "收费记录", width = 15)
    @ApiModelProperty(value = "收费记录")
    private java.lang.String chargeId;
	/**账户前次余额*/
	@Excel(name = "账户前次余额", width = 15)
    @ApiModelProperty(value = "账户前次余额")
    private java.math.BigDecimal preBalance;
	/**金额*/
	@Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
    private java.math.BigDecimal money;
	/**预存后余额*/
	@Excel(name = "预存后余额", width = 15)
    @ApiModelProperty(value = "预存后余额")
    private java.math.BigDecimal postBalance;
	/**预存操作时间*/
	@Excel(name = "预存操作时间", width = 15)
    @ApiModelProperty(value = "预存操作时间")
    private java.lang.String chargeTime;
	/**收费员 cashierid */
	@Excel(name = "收费员", width = 15)
    @ApiModelProperty(value = "收费员")
    private java.lang.String cashierId;
	/**账务日期*/
	@Excel(name = "账务日期", width = 15)
    @ApiModelProperty(value = "账务日期")
    private java.lang.String financialDate;
	/**账务月份*/
	@Excel(name = "账务月份", width = 15)
    @ApiModelProperty(value = "账务月份")
    private java.lang.String financialMonth;
	/**冲账状态 冲账状态1-正常,2-被冲帐,3-冲帐记录*/
	@Excel(name = "冲账状态", width = 15)
    @ApiModelProperty(value = "冲账状态")
    private java.lang.String feeStruckStatus;
	/**冲账ID*/
	@Excel(name = "冲账ID", width = 15)
    @ApiModelProperty(value = "冲账ID")
    private java.lang.String struckId;
	/**有效状态 0 预缴费 1 正常 2 取消*/
	@Excel(name = "有效状态", width = 15)
    @ApiModelProperty(value = "有效状态")
    private java.lang.Integer status;
	/**预存前账户余额*/
	@Excel(name = "预存前账户余额", width = 15)
    @ApiModelProperty(value = "预存前账户余额")
    private java.math.BigDecimal preMoney;
	/**预存后账户余额*/
	@Excel(name = "预存后账户余额", width = 15)
    @ApiModelProperty(value = "预存后账户余额")
    private java.math.BigDecimal postMoney;
	/**同步标识*/
	@Excel(name = "同步标识", width = 15)
    @ApiModelProperty(value = "同步标识")
    private java.lang.Integer syncFlag;
	/**最后同步时间*/
	@Excel(name = "最后同步时间", width = 15)
    @ApiModelProperty(value = "最后同步时间")
    private java.lang.String syncDatetime;
	/**是否打印*/
	@Excel(name = "是否打印", width = 15)
    @ApiModelProperty(value = "是否打印")
    private java.lang.Integer isPrint;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
	/**部门编码*/
    @ApiModelProperty(value = "部门编码")
    private java.lang.String sysOrgCode;
	/**是否删除*/
	@Excel(name = "是否删除", width = 15)
    @ApiModelProperty(value = "是否删除")
    private java.lang.Integer delFlag;
	/**租户网点*/
	@Excel(name = "租户网点", width = 15)
    @ApiModelProperty(value = "租户网点")
    private java.lang.Integer tenantId;
}
